package com.cn.util;

import com.cn.ConstantNacosUtil;

/**
 * description: ConstanUserUtil <br>
 * date: 22.5.30 14:23 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
public final class ConstanUserUtil {

    public final static String USER_SLOT_KEY = ConstantNacosUtil.PROGRAM_NAME + ":USER_SLOT:MAX";

    public final static String TMP_CODE = "code";

    public final static String USER_LOCK_ERROR = "账号密码多次输入错误，账号已被锁定，请稍后再试";

    public final static String REPEAT_ERROR = "请勿重复操作";

    public final static String PASSWORD_CONFIRM_ERROR = "两次输入密码不一致";

    public final static String OLD_PASSWORD_ERROR = "旧密码错误";

    public final static String ACCOUNT_EXIST_ERROR = "账号已被注册";

    public final static String PHONE_EXIST_ERROR = "手机号已被注册";

    public final static String REGISTER_ERROR = "注册失败";

    public final static String PHONE_CODE_ERROR = "短信验证码错误";

    public final static String SMS_SEND_ERROR = "短信发送失败";

    public final static String CHILD_ACCOUNT_NOTEXIST_ERROR = "子账号不存在";
    /**
     * 注册加锁的key
     */
    public final static String REGISTER_LOCK_KEY = "REGISTER:LOCK:PHONE:%s";

    /**
     * 管理员账号禁止申请
     */
    public final static String COMPANY_APPLY_ERROR = "管理员账号禁止申请";

    public final static String COMPANY_ROLE_ERROR = "供应商身份不存在";

    /**
     * 供应商入驻幂等锁key
     */
    public final static String COMPANY_APPLY_METHOD_LOCK = "COMPANY_APPLY_METHOD_LOCK";

    public final static String COMPANY_APPLY_EXIST_ERROR = "已经存在审批中的申请，请耐心等待审批结果";

    public final static String COMPANY_ROLE_EXIST_ERROR = "禁止重复入驻";
    public final static String COMPANY_ROLE_EXIST_ERROR1 = "用户已经入驻了供应商身份";
    public final static String COMPANY_ROLE_EXIST_ERROR2 = "已经存在供应商入驻申请";
    public final static String COMPANY_EXIST_ERROR = "企业已注册";

    public final static String COMPANY_NOCHANGE_ERROR = "企业信息未做改动，禁止提交";

    public final static String PHONE_CONFIM_ERROR = "新手机号与旧手机号不能一样";

    public final static String UPDATE_SESSION_ERROR = "更新登录会话错误，%s";

    public final static String GOOD_TYPE_EXIST_ERROR = "商品类别已存在";

    public final static String NO_OPEATOR_PERMISSION_ERROR = "禁止操作";

    public final static String APP_VERSION_EXIST_ERROR = "app版本已存在";

    public final static String PORTAL_PROCESS_NODE_START = "start";
    public final static String PORTAL_PROCESS_NODE_START_TXT = "提交申请";
    public final static String PORTAL_PROCESS_NODE_APPROVE = "approve";

    public final static String PORTAL_PROCESS_NODE_APPROVE_TXT = "审批中";
    public final static String PORTAL_PROCESS_NODE_END = "end";

    public final static String PORTAL_PROCESS_NODE_END_TXT = "完成";
    public final static String PORTAL_PROCESS_NODE_END_TXT_REJECT = "驳回";

    public final static String PORTAL_PROCESS_NAME = "平台运营";

    public final static String EXPERT_APPLY_METHOD_LOCK = "EXPERT_APPLY_METHOD_LOCK";

    public final static String EXPERT_APPLY_APPROVE_ERROR = "已经存在专家入驻申请";

    public final static String EXPERT_EXIST_ERROR = "用户已经入驻了专家身份";

}
